package com.globallogic.javatrainings.sergiiivanov.resources;

public class ErrorCodes {

    public static final String ARRAY_INDEX_IS_OUT_OF_BOUNDARIES = "Error: index is out of boundaries";
    public static final String BUILDING_NAME_NOT_UNIQUE = "Error: Building name already exists - ";
    public static final String BUILDING_NAME_NULL = "Error: Building name should be provided";
    public static final String BUILDING_NOT_FOUND_BY_INDEX = "Error: no building with index ";
    public static final String COURSE_NAME_NOT_UNIQUE = "Error: Course with the same name already exists ";
    public static final String COURSE_NOT_FOUND = "Error: course not found ";
    public static final String MAP_KEY_IS_NULL = "Null could not be used as a key";
    public static final String MAP_KEY_NOT_FOUND = "Error: Map does not contain value with key ";
    public static final String PERSON_NAME_NOT_UNIQUE = "Error: Person with the same name already exists ";
    public static final String PERSON_NAME_NULL = "Error: Name could not be empty";
    public static final String PERSON_WRONG_COMPARE_OBJECT = "Error: Wrong type provided. Expected instance of Person";
    public static final String PERSONNEL_NOT_FOUND_BY_INDEX = "Error: No personnel with index ";
    public static final String RESUME_ENTRY_NOT_FOUND_BY_INDEX = "Error: No resume entry with index ";
    public static final String RESUME_WRONG_DATA_FORMAT = "Error: Resume details data does not contain required informtaion";
    public static final String ROOM_HAS_LINKS = "Failed to complete because this room has links";
    public static final String ROOM_NAME_EMPTY = "Error: Room id could not be empty";
    public static final String ROOM_NOT_UNIQUE = "Error: Room Ids could not duplicate within the same building - ";
    public static final String ROOM_IS_NOT_ASSIGNED_TO_THE_PERSON = "Error: Room is not assigned to the personnel. Probably data was changed during operation. Try again, or report to developer";
    public static final String ROOM_IS_TOO_SMALL = "Error: Room is too small for the group or is not valid for the type of lesson";
    public static final String ROOM_NOT_FOUND = "Error: Can't find selected room. Probably data was changed during operation. Try again, or report to developer";
    public static final String ROOM_NOT_FOUND_BY_INDEX = "Error: Wrong room index";
    public static final String SCORE_COURSE_NULL = "Error: Course should be defined for adding new score record";
    public static final String SCORE_NO_TEACHER = "Error: Score could not be added without reference to teacher";
    public static final String STUDENT_ALREADY_ENROLLED = "Error: The student already enrolled to the course";
    public static final String STUDENT_NOT_ENROLLED_TO = "Error: Student is not enrolled to the course ";
    public static final String STUDENT_NOT_FOUND = "Error: Unable to get student ";
    public static final String TEACHER_ASSIGNED_TO_COURSE = "Error: Can\'t delete teacher assigned to course";
    @Deprecated
    public static final String UNREAL_CASE_HAPPENS = "Error: This error should not happened.\n Please report this problem to developer and your name will be added to credits.";
    public static final String LECTURE_NOT_FOUND = "Error: Lecture not found";
    public static final String ROOM_NEGATIVE_CAPACITY = "Error: Room could not have capacity less than zero";
    public static final String LECTURE_NOT_UNIQUE = "Error: Lecture with the same name already added ";
    public static final String CONTROLLERS_STUDENTS_DATA_VALIDATION_FAILED = "FATAL Error: Internal students data storage is broken";
    public static final String STUDENT_CANT_GET_AVERAGE_SCORE = "FATAL Error: Unable to get average scores for student. Code is broken";
    public static final String COURSE_NAME_NULL = "Error: Course name could not be empty";
    public static final String COURSE_HAVE_SCORES_CANT_CHANGE_DISCIPLINE = "Error: Discipline may not be changed when studens have scores from the course";
    public static final String ELEMENT_TYPE_NOT_SUPPORT_NAMES_CONVERSION = "Error: Types in collection does not support toNamesList()";
    public static final String COURSE_NO_PLACES = "Error: There are no available place on the course for another student";
    public static final String LECTURE_COULD_NOT_BE_MOVED = "Error: Lecture could not be moved to another course";
    public static final String COURSE_NOT_REASSIGNED = "Error: Course could not be reassigned";
    public static final String BUILDING_NOT_REASSIGNED = "Error: Building could not be reassigned";
    public static final String BUILDING_STORAGE_FAILURE = "Fatal Error: Internal building storage is broken";
    public static final String BUILDING_NOT_FOUND = "Error: Building not found ";
    public static final String SCORE_LECTURE_NULL = "Error: Score could not be added without reference to lecture";
    public static final String SCORE_WRONG_VALUE = "Error: Score value is out of range";
    public static final String SCORE_COURSE_BROKEN_DISCIPLINE = "Error: Discipline is not set for the course";
    public static final String SCORE_STUDENT_NULL = "Error: Student should be defined for the score";
    public static final String SCORE_STUDENT_ASSIGNED = "Error: Score may not be reassigned";
    public static final String UNIVERSITY_EMPTY_NAME = "University name may not be null";
    public static final String LECTURE_NAME_NULL = "Lecture name could not be empty";
    public static final String PERSONNEL_NOT_FOUND = "Personnel not found";
}
